<div class="login">

<h4>Register</h4>

<table border="0" class='login_table'>

<?= form_open('member/register/') ?>
	<tr>
		<td><label for="email">Email:</label></td>
		<td><input type="text" name="email" value="<?= $this->validation->email ?>" id="email"></td>
	</tr>
	<tr class="centered">
			<td colspan="2"><?= $this->validation->email_error ?></td>
	</tr>
	<tr>
	<tr>
		<td><label for="username">Username:</label></td>
		<td><input type="text" name="username" value="<?= $this->validation->username ?>" id="username"></td>
	</tr>
	<tr class="centered">
			<td colspan="2"><?= $this->validation->username_error ?></td>
	</tr>
	<tr>
	<tr>
		<td><label for="password">Password:</label></td>
		<td><input type="password" name="password" value="" id="password"></td>
	</tr>
	<tr class="centered">
			<td colspan="2"><?= $this->validation->password_error ?></td>
	</tr>
	<?= $this->plugin->register_form() ?>
	<tr class="centered">
		<td colspan="2">
			<? if (strlen($this->validation->error_string) - strlen($this->validation->submit_error) == 1): ?>
				<?= $this->validation->submit_error ?>
			<? endif; ?>
		</td>
	</tr>
	<tr class="centered">
		<td colspan="2"><input type="submit" name="submit" value="Register" class="button"></td>
	</tr>
<?= form_close() ?>

</table>

<p>Already joined? <?= anchor('member/login', 'Login.')?></p>

</div>